package com.jiaertangshi.jiaer.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jiaertangshi.jiaer.dao.AdvMapper;
import com.jiaertangshi.jiaer.dto.Adv;

@Service
public class AdvService {
	
	@Autowired
	AdvMapper  advMapper;
	
	public   List<Adv>    getAdvsByLocation(String   advLocation){
		return 	advMapper.getAdvsByLocation(advLocation);
	}
	

}
